//
//  DetaiGoodShopTableViewCellOfImage.m
//  BTRIP
//
//  Created by johnbk on 15/11/13.
//  Copyright © 2015年 johnbk. All rights reserved.
//

#import "DetaiGoodShopTableViewCellOfImage.h"

@implementation DetaiGoodShopTableViewCellOfImage
-(void)dealloc{
	[_imgView release];
	[super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
	self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
	if (self) {
		//NSLog(@"🍎%f", self.frame.size.width);
		self.imgView = [[UIImageView alloc]initWithFrame:CGRectMake(20, 10, self.frame.size.width + 20, 170)];
		[self.contentView addSubview:self.imgView];
		[self.imgView release];
	}
	return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
+ (DetaiGoodShopTableViewCellOfImage *)tableView:(UITableView *)tableView{
	static NSString *cellIdentifier = @"DetaiGoodShopTableViewCellOfImageIdentifier";
	DetaiGoodShopTableViewCellOfImage *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifier];
	if (!cell) {
		cell = [[DetaiGoodShopTableViewCellOfImage alloc]init];

	}
	return cell;
}

@end
